package pers.ascend.spring.cloud.greenwich.service.governance.eureka.consumer.feign.manage.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 说明：
 *
 * @author ascend
 * 2021/3/16 8:38
 */
@FeignClient(name = "eureka-producer", path = "/producer")
public interface EurekaProducerFeign {
    @GetMapping(value = "/hello")
    String hello(@RequestParam("name") String name);
}
